package com.eleven.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eleven.dao.QuestionAllMapper;
import com.eleven.pojo.QuestionAll;
import com.eleven.service.QuestionAllService;

@Service
public class QuestionAllServiceImpl implements QuestionAllService {
	@Autowired
	QuestionAllMapper questionAllMapper;

	public QuestionAllMapper getQuestionAllMapper() {
		return questionAllMapper;
	}

	public void setQuestionAllMapper(QuestionAllMapper questionAllMapper) {
		this.questionAllMapper = questionAllMapper;
	}

	/**
	 * 查看全部问题总支
	 */
	public List<QuestionAll> getAllQuestionAll() {
		return questionAllMapper.selectByExample(null);
	}


}
